package com.example.rdb.handle.mysql.write;



import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface MpWriteMapper {

    Integer batchMpInsertData(@Param("tableName") String tableName, @Param("cols") Set<String> cols, @Param("data") List<Map<String, Object>> data);

    Integer getMpDatabaseNum(@Param("tableName") String tableName, @Param("id") String id);

    Integer deleteDataByTenantId(@Param("tenantId") String tenantId);

    Integer getWxId(@Param("tenantId")String tenantId);


}